package com.zph.dao;
import java.util.List;
import java.util.Map;

import com.zph.entity.Basic;
import com.zph.entity.CV;
import com.zph.entity.CV_File;
import com.zph.entity.Comment;
import com.zph.entity.ContactList;
import com.zph.entity.Education;
import com.zph.entity.Expectation;
import com.zph.entity.Job;
import com.zph.entity.Medal;
import com.zph.entity.Paper;
import com.zph.entity.Patent;
import com.zph.entity.Project;
import com.zph.entity.Skill;
import com.zph.entity.DataHead;
import com.zph.entity.DataStructure;


public interface IDatabaseDao {
    
	public void insertBasic(Basic basic);
	
	public void insertEducation(Education education);
	
	public void insertExpectation(Expectation expectation);
	
	public void insertJob(Job job);
	
	public void insertProject(Project project);
	
	public void insertPaper(Paper paper);
	
	public void insertPatent(Patent patent);
	
	public void insertMedal(Medal medal);
	
	public void insertComment(Comment comment);
	
	public int insertSkill(Skill skill);
	
	public void insertCV(CV cv);
	
	public void insertDataHead(DataHead dataHead);
	
	public void insertDataStructure(DataStructure dataStructure);
	
	public void insertContact(ContactList contactList);
	
	public List<Map>  queryDataHead(DataHead dataHead);
	
	public List<Map>  queryCVFile();
	
	public List<Map>  queryCVFile1();
	
	public List<Map>  queryRecord1();
	
	public List<Map>  queryRecord2();
	
	public List<Map>  queryContact1();
	
	public List<Map>  queryContact2();
	
	public int  queryCompanyId(int ownerid);
	
	public void updateCVFileCandidate(Map map);
	
	public void updateCVFileFlag(int id);
	
	public void updateCVById(CV cv);
	
}
